<van-tabbar v-model="active" active-color="#dd1a21" route>
    <van-tabbar-item icon="wap-home-o" replace to="/home">首页</van-tabbar-item>
    <van-tabbar-item icon="apps-o" replace to="/classify">分类</van-tabbar-item>
    <van-tabbar-item icon="shopping-cart-o" replace to="/cart" :badge="cartGoodsNumber != 0 ? cartGoodsNumber : ''">购物车</van-tabbar-item>
    <van-tabbar-item icon="contact" replace to="/my">个人</van-tabbar-item>
</van-tabbar>